import request from '@/utils/request'

const base_url = '/admin/blogArticle/lifegrowth'
export default {
  getList(rq) {
    return request({
      url: base_url + '/list',
      method: 'get',
      params: rq
    })
  },
  getInfo(rq) {
    return request({
      url: base_url + `/info/${rq}`,
      method: 'get'
    })
  },
  save(rq) {
    return request({
      url: base_url + `/save`,
      method: 'post',
      data: rq
    })
  },
  update(rq) {
    return request({
      url: base_url + `/update`,
      method: 'put',
      data: rq
    })
  },
  delete(rq) {
    return request({
      url: base_url + `/delete`,
      method: 'delete',
      data: rq
    })
  }
}
